﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace C4F.DevKit.Calendar
{
    /// <summary>
    /// An exception thrown when a CalendarManager has not been set.
    /// </summary>
    public class CalendarManagerIsNullException
        : CalendarException
    {
        /// <summary>
        /// Creates a new CalendarManagerIsNullException.
        /// </summary>
        /// <param name="message">A message containing information about the error.</param>
        public CalendarManagerIsNullException(string message)
            : base(message)
        {

        }

        /// <summary>
        /// Creates a new CalendarManagerIsNullException.
        /// </summary>
        /// <param name="message">A message containing information about the error.</param>
        /// <param name="innerException">An internal exception which may contain more error information.</param>
        public CalendarManagerIsNullException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
    }
}
